package net.oschina.app.protocol;


import net.oschina.app.bean2.AttentionBean;
import net.oschina.app.bean2.CallMeBean;
import net.oschina.app.bean2.CollectBean;
import net.oschina.app.bean2.ExploreEventBean;
import net.oschina.app.bean2.ExploreFriendBean;
import net.oschina.app.bean2.GeneralBlogBean;
import net.oschina.app.bean2.GeneralBlogDetailBean;
import net.oschina.app.bean2.GeneralNewsBean;
import net.oschina.app.bean2.GeneralNewsDetailBean;
import net.oschina.app.bean2.MeBlogBean;
import net.oschina.app.bean2.MessagesBean;
import net.oschina.app.bean2.MoveCommentBean;
import net.oschina.app.bean2.MoveDetailBean;
import net.oschina.app.bean2.MoveMyBean;
import net.oschina.app.bean2.MoveNewBean;
import net.oschina.app.bean2.PraiseBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;



/**
 * Created by Shinelon on 2017/1/15.
 */

public interface AccessService {
    //综合模块
    @GET("list/news/page0.xml")
    Call<GeneralNewsBean> getNewsDatas();

    @GET("list/hotspot/page0.xml")
    Call<GeneralNewsBean> getHotDatas();

    @GET("detail/news_detail/{path}")
    Call<GeneralNewsDetailBean> getNewsDetailDatas(@Path("path") String path);

    @GET("list/blog/page0.xml")
    Call<GeneralBlogBean> getBlogDatas();

    @GET("list/recommend/page0.xml")
    Call<GeneralBlogBean> getRecommendDatas();

    @GET("detail/blog_detail/{path}")
    Call<GeneralBlogDetailBean> getBlogDetailDatas(@Path("path") String path);

    // 动弹页面
    @GET("list/tweet_list/page0.xml")
    Call<MoveNewBean> getMoveNewDatas();

    @GET("list/hottweet/page0.xml")
    Call<MoveNewBean> getMoveHotDatas();

    @GET("list/mytweet/page0.xml")
    Call<MoveNewBean> getMoveMyDatas();

    // 动弹详情页面
    @GET("commentlist/catalog3id6066159page0.xml")
    Call<MoveCommentBean> getMoveDetailDatas();

    //“我”——>收藏板块
    @GET("list/favorite_list1/page0.xml")
    Call<CollectBean> getfavorite1();

    @GET("list/favorite_list2/page0.xml")
    Call<CollectBean> getfavorite2();

    @GET("list/favorite_list3/page0.xml")
    Call<CollectBean> getfavorite3();

    @GET("list/favorite_list4/page0.xml")
    Call<CollectBean> getfavorite4();

    @GET("list/favorite_list5/page0.xml")
    Call<CollectBean> getfavorite5();

    //“我”——>关注、粉丝版块
    @GET("list/friends_list1/page0.xml")
    Call<AttentionBean> getnotice1();

    @GET("list/friends_list0/page0.xml")
    Call<AttentionBean> getfans1();

    @GET("list/friends_list1/page0.xml")
    Call<AttentionBean> getnotice2();

    @GET("list/friends_list0/page0.xml")
    Call<AttentionBean> getfans2();

    //"我"——>消息板块
    @GET("list/active_list2/page0.xml")
    Call<CallMeBean> getcallMe();

    @GET("list/active_list3/page0.xml")
    Call<CallMeBean> getcomment();

    @GET("list/message_list/page0.xml")
    Call<MessagesBean> getleavaMessage();

    @GET("list/friends_list0/page0.xml")
    Call<AttentionBean> getmessageFans();

    @GET("list/my_tweet_like_list/page.xml")
    Call<PraiseBean> getpraiseme();

    //“我”——>博客板块
    @GET("list/userblog_list/page0.xml")
    Call<MeBlogBean> getMeBlog();


    //发现模块
    @GET("list/active_list1/page0.xml")
    Call<ExploreFriendBean> getActiveDatas();
//    @GET("list/active_list1/page0.xml")
//    Call<ExploreFriendBean> getActiveDatas();

    @GET("list/event_list/page0.xml")
    Call<ExploreEventBean>getEventData();
    @GET("list/my_event_list/page0.xml")
    Call<MoveMyBean>getMyEventData();
    @GET("detail/post_detail/243072.xml")
    Call<MoveDetailBean>getPostDatas();
}
